//
//  CONSTS.h
//  FlipBoard
//
//  Created by Kevin Huang on 9/15/10.
//  Copyright 2010 iTotem. All rights reserved.
//

//Functions



//Consts
//#define SYDENY_BASE_URL  @"http://192.168.1.101/~Rainbow/sydney/json"
//#define SYDENY_IMAGE_URL    @"http://192.168.1.101/~Rainbow/sydney"
#define SYDENY_BASE_URL  @"http://insydneyapp.com/json"
#define SYDENY_IMAGE_URL    @"http://insydneyapp.com/"
#define US_PUSH_NOTIFICATION    @"US_PUSH_NOTIFICATION"
#define DEVICE_TOKEN            @"DEVICE_TOKEN"

#define NN_ENTER_FOREGROUND     @"NN_ENTER_FOREGROUND"


#define PER_PAGE_NUMBER     11

//enums
typedef enum
{
    SydenyShopListTypeLastest = 0,
    SydenyShopListTypePromotions,
    SydenyShopListFood,
    SydenyShopListShopping,
    SydenyShopListDealHouse,
    SydenyShopListBuyCar,
    SydenyShopListAbroad
}SydenyShopListType;


// Type enum
typedef enum{
	kTypeCurrentOrientationV,//垂直
	kTypeCurrentOrientationH,//横屏
} CurrentOrientationType;

typedef enum{
	kTypeErrorCodeSuccess,
	kTypeErrorCodeBadNetwork,
	kTypeErrorCodeWrongPwd,
	kTypeErrorCodeSendCommentFailed,
} ErrorCodeType;

typedef enum{
	kTypeImageRectangleV,
	kTypeImageRectangleH,
	kTypeImageSquare,
} ImageType;

typedef enum{
	kTypeHalfImageLeft,
	kTypeHalfImageRight,
} HalfImageType;

typedef enum{
	kTypeSliderAnimationMoveToRight,
	kTypeSliderAnimationMoveToLeft,
	kTypeSliderAnimationMoveToTop,
	kTypeSliderAnimationMoveToBottem,
	kTypeSliderAnimationShrink,
} SliderAnimationType;

typedef enum{
	kTypeSrcTabBtnMySub,
	kTypeSrcTabBtnRecommend,
} SourceTabButtonType;

typedef enum{
	kTypeArticleText,
	kTypeArticleImage,
	kTypeArticleMixed,
	kTypeArticleTwitter,
} ArticleType;


// Tag enum
typedef enum{
	kTagCommonMaskView = 10000,
	kTagGlobalMaskView,
	kTagImageMaskView,
	kTagCommonIndicatorView,
	kTagIndicatorMaskView,
	KTagAddTextView,
} CommonTag;

typedef enum{
	kTagProcessIndicatorView = 100,
	kTagProcessIndicator,
} WindowTag;

typedef enum{
	kTagFLImageView = 100,
	kTagFRImageView,
	kTagBLImageView,
	kTagBRImageView,
} FlipContainerTag;

typedef enum{
	kTagHeadBtnsStart = 200,
} CoverViewTag;

typedef enum{
	kTagSrcBtnsStart = 300,
	kTagdeleteBtnsStart = 600,
} SourceScrollViewTag;
